package io.renren.service.xtd;

import io.renren.entity.xtd.DataContractEntityXtd;
import io.renren.service.DataContractService;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 
* @author Murphy Wu
* 创建时间：2018年6月8日 上午11:07:52 
* 说明 :历史合同基础表
 */
public interface DataContractServiceXtd extends DataContractService{
	
    Integer impContract(Map<String,Object> map);
	
	Integer impContractPay(Map<String,Object> map);
	
	Integer impContractPayDetail(Map<String,Object> map);
	
    void impExcelInList(List<Map<String,Object>> list);
	
	void deleteAll();
	
	List<DataContractEntityXtd> queryListXtd(Map<String, Object> map);
	
	List<DataContractEntityXtd> queryListYuanXtd(Map<String, Object> map);
	
	void deleteXtd(Map<String,Object> map);
	
	int queryTotalXtd(Map<String,Object> map);
	
	DataContractEntityXtd queryObjectXtd(String id);
	int queryTotalXtdByMonth(Map<String,Object> map);
	void deleteXtdByMonth(Map<String,Object> map);
	List<BigDecimal> getContractCount(Map<String,Object> map);
	List<String> getAllContractNo();
}
